package com.sy.olddriver.dto;

import java.util.List;

/**
 * 分页查询统一的返回对象
 * @param <T> 分页查询以后结果集中元素的类型
 * @author Administrator
 */
public class Page<T> {
    private Integer pageNo;
    private Integer pageSize;
    private Long total;
    private Long pageCount;
    private List<T> data;

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getPageCount() {
        return pageCount;
    }

    public void setPageCount(Long pageCount) {
        this.pageCount = pageCount;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
